-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add, test/{end,start}.js; Update, lib/index.js #5
base: master
Are you sure you want to change the base?
Conversation
test/{end,start}.js: tests showing how to use the new queue targets: `first' and `last'. lib/index.js: 1. added support for new queue targets: `first' and `last'. First can be used to create an infinite loop, which might be desirable in the case of watchers: programs that watch other programs and alert peeps when those programs die.
…x.js end-begin.js: Combined both the `start.js` and the `end.js` tests into a single test file. index.js: 1. changed `last` -> `ending` 2. changed `first` -> `beginning`
* Added another test for beginning and ending * Added usage-examples of beginning and ending to the README
fixed a typo
|
||
```javascript | ||
var cats = [ 'Gary' ]; | ||
stewardess( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make the example simpler and more straightforward. We don't want people getting bogged down in grokking a ternary
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
k, gotcha.
@regality ready for you to review again, I believe. |
test/{end,start}.js:
tests showing how to use the new queue targets:
first
andlast
.lib/index.js:
first
andlast
.